Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(master): Release 0.44.0 #7088

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jun 18, 2024

🤖 I have created a release beep boop

aztec-package: 0.44.0

0.44.0 (2024-06-26)

Features

barretenberg.js: 0.44.0

0.44.0 (2024-06-26)

Bug Fixes

aztec-packages: 0.44.0

0.44.0 (2024-06-26)

⚠ BREAKING CHANGES

  • make note_getter return BoundedVec instead of an Option array (#7050)
  • TXE (#6985)

Features

Bug Fixes

Miscellaneous

barretenberg: 0.44.0

0.44.0 (2024-06-26)

Features

Bug Fixes

Miscellaneous


This PR was generated with Release Please. See documentation.

Copy link
Collaborator Author

@AztecBot AztecBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: 9974f67 Previous: bc8e3a1 Ratio
wasmClientIVCBench/Full/6 45022.655189 ms/iter 42631.06785100001 ms/iter 1.06

This comment was automatically generated by workflow using github-action-benchmark.

CC: @ludamad @codygunton

@AztecBot AztecBot force-pushed the release-please--branches--master branch from e3cf9cd to 30547b0 Compare June 18, 2024 15:57
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jun 18, 2024

Benchmark results

Metrics with a significant change:

  • avm_simulation_time_ms (Token:mint_public): 594 (+793%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 70.6 (-67%)
  • protocol_circuit_witness_generation_time_in_ms (private-kernel-inner): 1,118 (+18%)
  • protocol_circuit_witness_generation_time_in_ms (public-kernel-tail): 39,384 (+16%)
Detailed results

All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.

This benchmark source data is available in JSON format on S3 here.

Proof generation

Each column represents the number of threads used in proof generation.

Metric 1 threads 4 threads 16 threads 32 threads 64 threads
proof_construction_time_sha256_30_ms 11,381 3,076 (+1%) 1,662 (+6%) 1,471 (-4%) 1,633 (+5%)
proof_construction_time_sha256_100_ms 43,753 11,769 5,457 5,399 (-1%) 5,370
proof_construction_time_poseidon_hash_ms 77.0 (-1%) 34.0 34.0 58.0 87.0 (+1%)
proof_construction_time_poseidon_hash_30_ms 1,529 (+1%) 416 209 (+5%) 239 (+6%) 289 (+9%)
proof_construction_time_poseidon_hash_100_ms 5,818 (+2%) 1,583 (+1%) 751 (+4%) 787 (+3%) 833 (+5%)

L2 block published to L1

Each column represents the number of txs on an L2 block published to L1.

Metric 4 txs 8 txs 16 txs
l1_rollup_calldata_size_in_bytes 1,412 1,412 1,412
l1_rollup_calldata_gas 9,464 9,472 9,476
l1_rollup_execution_gas 610,285 610,293 610,297
l2_block_processing_time_in_ms 760 1,410 2,693 (-1%)
l2_block_building_time_in_ms 25,334 50,724 99,087
l2_block_rollup_simulation_time_in_ms 25,333 50,723 99,087
l2_block_public_tx_process_time_in_ms 21,770 46,969 95,391

L2 chain processing

Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric 3 blocks 5 blocks
node_history_sync_time_in_ms 7,003 9,835
node_database_size_in_bytes 12,173,392 16,117,840
pxe_database_size_in_bytes 16,254 26,813

Circuits stats

Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Circuit simulation_time_in_ms witness_generation_time_in_ms proving_time_in_ms input_size_in_bytes output_size_in_bytes proof_size_in_bytes num_public_inputs size_in_gates
private-kernel-init 129 476 (+2%) 13,181 (-2%) 20,634 67,190 92,352 2,819 524,288
private-kernel-inner 392 ⚠️ 1,118 (+18%) 49,045 (-6%) 94,902 67,190 92,352 2,819 2,097,152
private-kernel-tail 370 1,809 (-1%) 50,453 (-6%) 99,121 71,733 14,912 399 2,097,152
base-parity 6.34 1,915 (-2%) 2,735 (-2%) 128 64.0 2,208 2.00 131,072
root-parity 48.6 (-1%) 73.7 (-1%) 40,666 (-2%) 27,100 64.0 2,720 18.0 2,097,152
base-rollup 7,862 4,856 (-2%) 86,274 170,330 756 3,648 47.0 4,194,304
root-rollup 110 87.3 (-4%) 23,132 25,309 620 3,456 41.0 1,048,576
public-kernel-setup 704 (-2%) 3,728 (+1%) 45,715 116,905 93,334 125,344 3,850 2,097,152
public-kernel-app-logic 611 4,703 (+1%) 46,954 (+1%) 116,905 93,334 125,344 3,850 2,097,152
public-kernel-tail 1,400 ⚠️ 39,384 (+16%) 203,426 (+4%) 511,910 10,014 14,912 399 8,388,608
private-kernel-reset-small 593 1,985 (+2%) 45,693 (-2%) 123,313 67,190 92,352 2,819 2,097,152
public-kernel-teardown 610 4,806 (+1%) 47,475 (+1%) 116,905 93,334 125,344 3,850 2,097,152
merge-rollup 28.7 (-1%) N/A N/A 16,542 756 N/A N/A N/A
private-kernel-tail-to-public N/A 7,267 (-14%) 97,028 (-6%) N/A N/A 125,344 3,850 4,194,304

Stats on running time collected for app circuits

Function input_size_in_bytes output_size_in_bytes witness_generation_time_in_ms proof_size_in_bytes proving_time_in_ms size_in_gates num_public_inputs
ContractClassRegisterer:register 1,344 9,944 413 (-3%) N/A N/A N/A N/A
ContractInstanceDeployer:deploy 1,408 9,944 39.3 (-1%) N/A N/A N/A N/A
MultiCallEntrypoint:entrypoint 1,920 9,944 1,761 (-1%) N/A N/A N/A N/A
GasToken:deploy 1,376 9,944 961 (-2%) N/A N/A N/A N/A
SchnorrAccount:constructor 1,312 9,944 1,401 (-1%) N/A N/A N/A N/A
SchnorrAccount:entrypoint 2,304 9,944 2,824 16,768 53,634 (-7%) 2,097,152 457
Token:privately_mint_private_note 1,280 9,944 1,623 N/A N/A N/A N/A
FPC:fee_entrypoint_public 1,344 9,944 354 16,768 11,240 (-1%) 524,288 457
Token:transfer 1,312 9,944 4,482 (-1%) 16,768 46,143 (-2%) 2,097,152 457
AuthRegistry:set_authorized (avm) 21,043 N/A N/A 87,200 1,365 (-2%) N/A N/A
FPC:prepare_fee (avm) 28,521 N/A N/A 88,032 5,656 (-6%) N/A N/A
AuthRegistry:consume (avm) 34,973 N/A N/A 87,616 2,941 (-5%) N/A N/A
Token:transfer_public (avm) 44,849 N/A N/A 87,616 2,992 (-7%) N/A N/A
FPC:pay_refund (avm) 33,381 N/A N/A 88,448 11,096 (-4%) N/A N/A
Benchmarking:create_note 1,344 9,944 1,404 N/A N/A N/A N/A
SchnorrAccount:verify_private_authwit 1,280 9,944 74.0 (-1%) N/A N/A N/A N/A
Token:unshield 1,376 9,944 3,679 (-1%) N/A N/A N/A N/A
FPC:fee_entrypoint_private 1,376 9,944 4,640 (-1%) N/A N/A N/A N/A

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
GasToken:_increase_public_balance 69.0 (+4%) 13,873
GasToken:set_portal 16.5 (-3%) 3,495
Token:constructor 92.3 24,207
FPC:constructor 62.4 (-3%) 13,893
GasToken:mint_public 51.0 (-4%) 10,241
Token:mint_public ⚠️ 594 (+793%) 19,216
Token:assert_minter_and_mint ⚠️ 70.6 (-67%) 13,034
AuthRegistry:set_authorized 31.8 (-1%) 7,869
FPC:prepare_fee 161 (-17%) 15,187
Token:transfer_public 37.9 (-28%) 31,425
FPC:pay_refund 144 (+20%) 20,080
Benchmarking:increment_balance 2,679 15,465
Token:_increase_public_balance 64.1 (+4%) 15,089
FPC:pay_refund_with_shielded_rebate 127 (-16%) 21,167

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.152 (-1%)

Tree insertion stats

The duration to insert a fixed batch of leaves into each tree type.

Metric 1 leaves 16 leaves 64 leaves 128 leaves 256 leaves 512 leaves 1024 leaves
batch_insert_into_append_only_tree_16_depth_ms 10.3 (-1%) 16.7 (-1%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_count 16.8 31.7 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_ms 0.596 (-1%) 0.513 (-1%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 48.3 75.5 (-1%) 131 (-1%) 244 470 (-1%)
batch_insert_into_append_only_tree_32_depth_hash_count N/A N/A 95.9 159 287 543 1,055
batch_insert_into_append_only_tree_32_depth_hash_ms N/A N/A 0.493 0.464 (-1%) 0.449 (-1%) 0.442 (-1%) 0.439 (-1%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 59.5 111 (-1%) 183 (-1%) 351 (-1%) 693 (-1%)
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A 109 207 355 691 1,363
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A 0.504 0.500 (-1%) 0.483 0.476 (-1%) 0.475 (-1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 72.5 (-1%) N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_count N/A N/A 133 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_ms N/A N/A 0.516 (-1%) N/A N/A N/A N/A

Miscellaneous

Transaction sizes based on how many contract classes are registered in the tx.

Metric 0 registered classes 1 registered classes
tx_size_in_bytes 85,672 670,983

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch from 30547b0 to c9669d3 Compare June 18, 2024 16:51
@AztecBot AztecBot changed the title chore(master): Release 0.43.1 chore(master): Release 0.44.0 Jun 18, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 24 times, most recently from 0d86173 to bcba9f0 Compare June 21, 2024 13:33
@AztecBot AztecBot force-pushed the release-please--branches--master branch 15 times, most recently from fc5cb4c to 9974f67 Compare June 26, 2024 08:23
@AztecBot AztecBot force-pushed the release-please--branches--master branch 3 times, most recently from e1748eb to 2535c6b Compare June 26, 2024 15:27
@rahul-kothari rahul-kothari enabled auto-merge (squash) June 26, 2024 15:35
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 2535c6b to 3fcd095 Compare June 26, 2024 16:05
@rahul-kothari rahul-kothari merged commit a8c666e into master Jun 26, 2024
91 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch June 26, 2024 16:40
@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment